package com.weblog.user.entity;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.util.Date;

@Setter
@Getter
/**
 * JPA native查询不能自动映射，只能使用map替换，但也可以只用如下注解进行映射
 */
public class UserDetailVo {
    private String mobile;
    private String gender;
    private String username;
    private Date regisdate;
    private String email;
    private Date birthday;
    private Integer fansnum;
    private Integer follownum;

    public UserDetailVo() {
    }
}
